* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    background: #e9e9e9;
    justify-content: center;
    align-items: center;
}

.clock {
    display: flex;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: coral;
    border: 2px solid darkgray;
    justify-content: center;
    align-items: center;
}

.cover {
    position: relative;
    width: 450px;
    display: flex;
    height: 450px;
    background: skyblue;
    border-radius: 50%;
}

.cent {
    display: grid;
    width: 450px;
    height: 450px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.left {
    /* background: chartreuse; */
    grid-row-start: 2;
    grid-column-start: 1;
    text-align: left;
    line-height: 150px;
    font-size: 2em;
}

.center {
    width: 50px;
    height: 50px;
    background: rebeccapurple;
    grid-row-start: 2;
    grid-column-start: 2;
    border-radius: 50%;
    align-self: center;
    justify-self: center;
}

.right {
    /* background: rgb(87, 112, 62); */
    grid-row-start: 2;
    grid-column-start: 3;
    text-align: right;
    line-height: 150px;
    font-size: 2em;
}

.up {
    /* background: rgb(87, 112, 62); */
    grid-row-start: 1;
    grid-column-start: 2;
    /* text-align: start; */
    font-size: 2em;
    text-align: center;
}

.down {
    /* background: rgb(87, 112, 62); */
    grid-row-start: 3;
    grid-column-start: 2;
    /* text-align: end; */
    text-align: center;
    font-size: 2em;
    display: flex;
    justify-self: center;
    align-self: flex-end;
}


/* 时针 */

.hour {
    position: absolute;
    top: 125px;
    left: 220px;
    width: 10px;
    height: 100px;
    border-radius: 25%;
    background: cornflowerblue;
    transform-origin: bottom center;
    transform: rotate(45deg);
}


/* 分针 */

.min {
    position: absolute;
    top: 108px;
    left: 220px;
    width: 10px;
    height: 120px;
    border-radius: 25%;
    background: red;
    transform-origin: bottom center;
    transform: rotate(90deg);
}

.second {
    position: absolute;
    top: 100px;
    left: 220px;
    width: 10px;
    height: 130px;
    border-radius: 25%;
    background: yellow;
    transform-origin: bottom center;
    /* transform: rotate(125deg); */
}